package com.app.mapper;

import com.app.model.GroupBuyingCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 团购分类表 Mapper 接口
 * </p>
 *
 * @author shaokuiling
 * @since 2024-09-24
 */
public interface GroupBuyingCategoryMapper extends BaseMapper<GroupBuyingCategory> {

    /**
     * 管理后台————根据分类Id查分类的详情
     * @param cid
     * @return
     */
    GroupBuyingCategory getCategoryDetail(@Param("cid") Integer cid);
}
